package sjtu.ist.warehouse4ws.dao;

import java.io.Serializable;
import java.util.List;

import sjtu.ist.warehouse4ws.model.Company;
public interface CompanyDao {
	
	Company get(Integer id);
	Serializable save(Company company);
	void update(Company company);
	void delete(Integer id);
	void delete(Company company);
	List<Company> findByName(String name);
	List<Company> getAllCompanies();
	List<Company> searchByName(String name);
}
